
class document:

    def __init__(self,value):

        self.leaf_order = 0
        self.siblings = 0
        self.document_id = value

    def get_document_id(self):
        
        return self.document_id

    def get_leaf_order(self):

        return self.leaf_order

    def add_leaf(self):

        self.leaf_order = self.leaf_order + 1
        return self.leaf_order

    def add_sibling(self):
        
        self.siblings = self.siblings + 1
        return self.siblings

    def get_num_siblings(self):

        return self.siblings

        
